Stripe\StripeTaxForWooCommerce\WordPress\Hooks D

Total Complexity 128
Dependencies 22
Dependents 0
Total lines 1,230
Lines of code 783
Logical lines of code 378
Comment lines 250
Methods 36
Properties 6

Methods 36

Method Rating Maintainability Complexity Lines of code
action_calculate_totals()
C
31 22 108
filter_woocommerce_calculate_item_totals_taxes()
A
37 14 72
init()
A
32 4 157
action_woocommerce_order_status_changed()
A
46 11 37
action_woocommerce_checkout_create_order_tax_item()
A
47 10 36
calculate_cart_contents_taxes()
A
46 8 36
action_woocommerce_after_calculate_totals()
A
47 7 36
action_admin_init()
S
55 7 18
add_collected_errors_to_response()
S
56 4 18
action_admin_enqueue_scripts()
S
43 2 46
action_woocommerce_product_options_tax()
S
52 3 22
action_woocommerce_order_partially_refunded()
S
56 3 17
handle_calculate_tax_error()
S
61 3 12
calculate_cart_line_item_taxes()
S
55 2 21
add_actions()
S
56 1 21
admin_ajax()
S
59 1 20
filter_woocommerce_rate_label()
S
69 2 6
filter_woocommerce_rate_code()
S
70 2 6
get_tax_transaction()
S
71 2 6
render_admin_notices()
S
71 2 6
filter_woocommerce_get_order_item_classname()
S
71 2 6
filter_woocommerce_rate_compound()
S
70 2 6
action_add_meta_boxes()
S
66 1 11
is_woocommerce_activated()
S
80 1 3
add_action_tax_exemptions()
S
70 1 6
admin_enqueue_styles()
S
78 1 3
detect_error_reporting_collect()
S
80 1 3
do_exit()
S
82 1 3
admin_enqueue_scripts()
S
78 1 3
action_woocommerce_order_fully_refunded()
S
76 1 4
action_admin_enqueue_styles()
S
68 1 8
filter_woocommerce_order_type_to_group()
S
77 1 4
action_woocommerce_after_product_object_save()
S
66 1 9
plugin_action_links()
S
68 1 6
action_init()
S
78 1 3
filter_add_stripe_tax_settings()
S
76 1 4